import { createApp } from 'vue'
// import App from './App.vue'
import App from './app1.vue'
import './index.css'
import router from './router'
import axios from 'axios'
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
// 全局注册 Vant 组件
import 'vant/lib/index.css';
import vant from 'vant';

const app = createApp(App)
// axios.defaults.baseURL = 'http://localhost:3000/'
// app.config.globalProperties.$http = axios
// 挂载路由
app.use(router)
// 将 vant 组件注册为全局插件
app.use(vant);
app.mount('#app')
